package org.seed.rpc.example;

import org.seed.rpc.springboot.EcRpcProperties;
import org.seed.rpc.springboot.EcRpcServerStarter;

public class ProviderMain {

    public static void main(String[] args) throws Exception {
        EcRpcProperties ecRpcProperties = new EcRpcProperties();
        ecRpcProperties.setPort(9999);
        ecRpcProperties.setBasePackage("org.seed.rpc.example");
        EcRpcServerStarter.run(ecRpcProperties);
    }

}
